﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{

    public class Vendor
    {
        /// <summary>
        /// 供应商ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 外部系统id
        /// </summary>
        public string ExternalId { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string VendorCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string VendorName { get; set; }

        /// <summary>
        /// 供应商简称
        /// </summary>
        public string VendorNick { get; set; }

        /// <summary>
        /// 供应商英文名称
        /// </summary>
        public string VendorEn { get; set; }

        /// <summary>
        /// 供应商简介
        /// </summary>
        public string VendorDes { get; set; }

        /// <summary>
        /// 供应商LOGO地址
        /// </summary>
        public string VendorLogo { get; set; }

        /// <summary>
        /// 供应商等级
        /// </summary>
        public string VendorLevel { get; set; }

        /// <summary>
        /// 供应商评分
        /// </summary>
        public int VendorScore { get; set; }

        /// <summary>
        /// 供应商地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 供应商官网地址
        /// </summary>
        public string Website { get; set; }

        /// <summary>
        /// 供应商邮箱地址
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 供应商电话
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 联系人1
        /// </summary>
        public string Contact1 { get; set; }

        /// <summary>
        /// 联系人1-电话
        /// </summary>
        public string Contact1Tel { get; set; }

        /// <summary>
        /// 联系人1-邮箱
        /// </summary>
        public string Contact1Email { get; set; }

        /// <summary>
        /// 联系人2
        /// </summary>
        public string Contact2 { get; set; }

        /// <summary>
        /// 联系人2-电话
        /// </summary>
        public string Contact2Tel { get; set; }

        /// <summary>
        /// 联系人2-邮箱
        /// </summary>
        public string Contact2Email { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string CreditCode { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public char EnableFlag { get; set; } = 'Y';

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ? CreateTime { get; set; } 

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; } = false;
    }
}
